package cn.pzaily.fealetter.entity;

import cn.pzaily.fealetter.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @PackageName: cn.pzaily.fealatter.entity
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-18 11:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode
@ApiModel(description = "接收日志表")
@TableName("receive_log")
public class ReceiveLogEntity extends BaseEntity {

    @ApiModelProperty(value = "请求平台id")
    private String platformId;

    @ApiModelProperty(value = "请求平台名称")
    private String platformName;

    @ApiModelProperty(value = "请求平台业务信息")
    private String business;

    @ApiModelProperty(value = "配置主键集合")
    private String configIds;

    @ApiModelProperty(value = "模板")
    private String template;

    @ApiModelProperty(value = "签名")
    private String signature;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "请求参数")
    private String request;

    @ApiModelProperty(value = "错误信息")
    private String error;

    @ApiModelProperty(value = "耗时")
    private long useTime;

    @ApiModelProperty(value = "状态：0失败，1成功")
    private int status;

    @ApiModelProperty(value = "日志id")
    private String apiLogId;

}
